package com.gzedu.module.service.curd.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.gzedu.common.sys.service.impl.BaseService;
import com.gzedu.module.dao.curd.ICurdButtonDao;
import com.gzedu.module.modle.curd.CurdButton;
import com.gzedu.module.service.curd.ICurdButtonService;

@Service
public class CurdButtonServiceImpl extends BaseService<CurdButton> implements ICurdButtonService{

	@Autowired
	private ICurdButtonDao curdButtonDao;
	
	public List<CurdButton> selectByFormId(CurdButton curdButton) {
		// TODO Auto-generated method stub
		return curdButtonDao.selectByFormId(curdButton);
	}

	public int deleteByFormId(CurdButton curdButton) {
		// TODO Auto-generated method stub
		return curdButtonDao.deleteByFormId(curdButton);
	}

}
